Automattic\WooCommerce\Internal\DataStores\Orders\CustomOrdersTableController S

Total Complexity 49
Dependencies 5
Dependents 12
Total lines 554
Lines of code 321
Logical lines of code 113
Comment lines 123
Methods 20
Properties 4

Methods 20

Method Rating Maintainability Complexity Lines of code
get_settings()
A
35 11 99
init_hooks()
S
43 1 68
add_initiate_regeneration_entry_to_tools_array()
S
49 3 34
process_options_updated()
S
63 4 11
process_pre_update_option()
S
70 4 6
create_custom_orders_tables()
S
63 4 10
process_sync_finished()
S
64 3 11
process_updated_option()
S
73 3 5
get_data_store_instance()
S
69 3 7
register_post_type_for_order_placeholders()
S
54 1 24
delete_custom_orders_tables()
S
69 2 7
get_settings_sections()
S
68 2 7
custom_orders_table_usage_is_enabled()
S
79 1 3
get_valid_transaction_isolation_levels()
S
69 1 8
hide_feature()
S
81 1 3
show_feature()
S
81 1 3
is_feature_visible()
S
82 1 3
auto_flip_authoritative_table_enabled()
S
79 1 3
init()
S
73 1 5
__construct()
S
77 1 4